﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BaseServer
{

  public class Config
  {
    public Config()
    {
      Main = new MainConfig();
      Scripting = new ScriptingConfig();
    }

    public class MainConfig
    {
      public MainConfig() { }
      public string Directory { get; set; }
      public int Port { get; set; }
    }
    public MainConfig Main { get; set; }

    //public enum ScriptProvider { CSSCRIPT, JS, PYTHON }

    public class ScriptingConfig
    {
      public ScriptingConfig() { }
      public string RootDirectory { get; set; }
      public string InitScript { get; set; }
      public string TickScript { get; set; }
      //public ScriptProvider ScriptProvider { get; set; }
    }
    public ScriptingConfig Scripting { get; set; }
  }
  
}
